package com.beifu.manager.api.common;

import java.util.List;

/**
 * Created by 再壮 on 2018/6/12.
 */
public class PageInfo {

    private int pageIndex = 1; // 当前页，默认1

    private int pageNum = 10; // 每页显示多少条，默认10

    private boolean hasNextPage; // 是否有下一页

    private Object result; // 返回数据

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
